<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%
			response.setHeader("Pragma", "No-cache");
			response.setHeader("Cache-Control", "no-cache");
			response.setDateHeader("Expires", 0);
			String servlet_path = request.getServletPath();
			String context_path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ context_path + "/";
		%>
<html>
	<head>
	
			<script Language="JavaScript">

function init(){<!--初始化-->
if(false){
		alert("无权使用本系统");
		window.parent.document.location.href = "http://www.aresoft.cn/";
	}

	//MainMenu.onClick(document.getElementById('menu0'));
if (document.all){
<!--调用settimes()函数-->
settimes();
}
}

var ctimer;
function initArray(){
	this.length=initArray.arguments.length;
	for(var i=0;i<this.length;i++)
		this[i+1]=initArray.arguments[i];
}
function settimes(){
var time= new Date();<!--获取当前日期-->
var d=new initArray(
		"星期日",
		"星期一",
		"星期二",
		"星期三",
		"星期四",
		"星期五",
		"星期六");
year=time.getYear();
month=time.getMonth()+1;
day=time.getDate();

hours= time.getHours();<!--获取当前时间-小时-->
mins= time.getMinutes();<!--获取当前时间-分钟-->
secs= time.getSeconds();<!--获取当前时间-秒-->
if (hours<10)<!--如果小时仅有一位，在前面补零-->
hours="0"+hours;
if(mins<10)<!--如果分钟仅有一位，在前面补零-->
mins="0"+mins;
if (secs<10)<!--如果秒仅有一位，在前面补零-->
secs="0"+secs;
<!--设置dateTime的格式-->
dateTime.innerHTML="<font size='2px'>"+year+"年"+month+"月"+day+"日"+"&nbsp;"+d[time.getDay()+1]+"&nbsp;"+hours+":"+mins+":"+secs+"<font>"
<!--每0.96秒更新一次时间-->
ctimer=setTimeout('settimes()',960);
}

</script>
  <style type="text/css">
  body{margin:0;}
   table {padding:0px; font-size:12px;}
   a{ text-decoration:none; color:#333}
   a:hover{text-decoration:underline; color:#600;}
  </style>
	</head>
	<body oncontextmenu="//为方便调试，目前请不要禁掉return false"
		ondragstart="return false" onselectstart="return false"
		onselect="document.selection.empty()"
		oncopy="document.selection.empty()" onbeforecopy="return false"
		onLoad="init()">
		<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0"
			style="background: url(<%=basePath%>manager/frame/images/head_top_bg_01.gif) repeat-x;">
			<tr>
				<td>
					<img src="<%=basePath%>manager/frame/images/zy_logo.jpg" border="0"
						alt="中银基金 CUSP客户统一服务管理平台" title="中银基金 CUSP客户统一服务管理平台">
				</td>
				<td align="right">
					<span id="dateTime"></span>&nbsp;&nbsp;
					<span id="userName">你好：尊敬的&nbsp;&nbsp;<s:property value="#session.sysuserinfo.realTrueName" /></span>&nbsp;
					<a href="<%=basePath%>manager/Login.jsp" target="mainFrame">退出 </a> &nbsp;
				</td>
			</tr>
		</table>
	</body>
</html>